package javabase.desginpattern.structure.flyweight;

/**
 * @author fance
 * @date 18-4-28 下午1:05
 */
public class ConcreteFlyweight extends Flyweight {

    private String string;

    public ConcreteFlyweight(String string) {
        this.string = string;
    }

    @Override
    public void operation() {
        System.out.println("concrete--flyweight: " + string);
    }
}
